package com.wn.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yellow Docter
 * @date 2022 -07-14
 * @desc
 */

@Data
@Component
@ConfigurationProperties(prefix = "stu")
public class Stu {

    private String name;
    private Integer age;

}
